package com.kzx2.service;

import com.kzx2.entity.User;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

@Component
public class LubanFactoryBean implements FactoryBean<Object> {


	@Override
	public Object getObject() throws Exception {
		System.out.println("----");
		return new User();
	}

	@Override
	public Class<?> getObjectType() {
		return User.class;
	}
}
